how to solve questions of linear equations